<?php $session->flash(); ?>
<?php foreach ($textoRequerimiento as $texto): ?>
    <h1><?php echo $texto["Requirements"]["texto"] ?></h1>
<?php endforeach; ?>
    
<?php foreach ($textoRequirementFault as $texto): ?>
    <h2><?php echo $texto["RequirementFault"]["nombre"] ?></h2>
<?php endforeach; ?>

<?php
echo $form->create('PropertyRequirementClaim');
echo $form->input("PropertyRequirementClaim.id");
echo $form->hidden("PropertyRequirementClaim.claim_id");
?>
<h1><?php //echo $this->data['Property']['nro_ident'] . " " . $this->data['Property']['1er_nombre'] . " " . $this->data['Property']['1er_apellido']   ?></h1>
<br>

<h1></h1>
<br>


<table border="1" width="100%" >
    <tbody>




    </tbody>
</table>
<?php
echo $form->input("PropertyRequirementClaim.calificacion", array('id' => 'calificacion', 'label' => 'calificación', 'options' => array('Sin registro' => 'Sin registro', 'Ratifica la causal' => 'Ratifica la causal', 'Desvirtúa la causal' => 'Desvirtúa la causal')));
echo $form->input("PropertyRequirementClaim.concepto", array('label' => 'Concepto','class'=>'txtarea'));
?>
<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>
<?php
echo $ajax->submit('Guardar', array('url' => array('controller' => 'PropertyRequirementClaims', 'action' => 'edit', $this->data['PropertyRequirementClaim']['id']), 'update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'));
echo $form->end();

// echo $ajax->link("REGRESAR",array('controller'=>'PropertyRequirements', "action"=>"index",$this->data['PropertyRequirement']['Property_id']),array('update'=>'content','complete'=>'cargar()'))
?>
<?php echo  $ajax->link($html->image("regresar.gif", array('width' => '30', 'heigth' => '30', 'alt' => 'regresar', 'align' => 'center')), array('controller' => 'Claims', "action" => "total_index",$this->data['PropertyRequirementClaim']['claim_id']), array('escape'=>false, 'update' => 'content', 'complete' => '','indicator' => 'loadingx'));?>
